//
//  RHAddPlantModel.h
//  RuiHeApp
//
//  Created by Yan Chen on 2025/1/2.
//

#import "BaseModel.h"
#import "RHMeOptionTypeModel.h"

NS_ASSUME_NONNULL_BEGIN
@class RHMeSystemModel,RHDeviceModel;
@interface RHAddCommonModel : BaseModel
@property (nonatomic ,copy) NSString *title;

@property (nonatomic ,copy) NSString *content;

@property (nonatomic ,copy) NSString *placeHolder;

@property (nonatomic ,copy) NSString *tag;

@property (nonatomic ,assign) BOOL isSelection;//是否选择项

@property (nonatomic ,strong) NSArray <RHMeOptionTypeModel*> *optionList;

@property (nonatomic ,copy) NSString *enum_content;//枚举值对应的内容,用于显示

@property (nonatomic ,assign) BOOL isRequired;//是否必填 

@property (nonatomic ,assign) BOOL isFirst;//首行 圆角边框问题

@property (nonatomic ,assign) BOOL isLast;//尾行 圆角边框问题

@property (nonatomic ,strong) NSArray <RHMeSystemModel*>*systemList;//电站添加系统

@property (nonatomic ,strong) NSArray <RHDeviceModel*>*deviceList;//电站添加设备

@property (nonatomic ,copy) NSString *key;//提交给后台的字段
@end

NS_ASSUME_NONNULL_END
